package com.croofr.global.exceptions;

/**
 * Basic runtime Croofr exception. All runtime exceptions in Croofr aplication must
 * extended this exception.
 * <p/>
 * User: bednar
 * Date: Jan 24, 2010
 * Time: 12:20:54 PM
 */
public class CroofrRuntimeException extends RuntimeException
{

    /**
     * Default CroofrRuntime exception constructor.
     */
    public CroofrRuntimeException()
    {
    }

    /**
     * CroofrRuntime exception constructor with errorKey.
     *
     * @param errorKey for specified detail message
     * @see #RuntimeException(String)
     */
    public CroofrRuntimeException(String errorKey)
    {
        super(errorKey);
    }

    /**
     * CroofrRuntime exception constructor with nested Throwable.
     *
     * @param cause nested throwable
     * @see Throwable
     */
    public CroofrRuntimeException(Throwable cause)
    {
        super(cause);
    }
}
